package com.rcloud.server.sealtalk.dao;

import com.rcloud.server.sealtalk.domain.UserAdvertisement;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface UserAdvertisementMapper extends Mapper<UserAdvertisement> {

    void updateIsTopAdvertisement(@Param("advertisementId") Integer advertisementId);

    UserAdvertisement queryRandomAdvertisement();
}